- Thank you received: 0
keywords: ip pbx voip gateway gsm gateway
# Span 1: OPVXA1200/0 "OpenVox A1200P Board 1"
fxoks=1
fxoks=2
fxoks=3
fxoks=4
fxoks=5
fxoks=6
fxsks=7
fxsks=8
fxsks=9
fxsks=10
fxsks=11
fxsks=12
# Global data
loadzone = es
defaultzone = es
[trunkgroups]
[channels]
language=es
context=from-zaptel
signalling=fxs_ks
rxwink=300 ; Atlas seems to use long (250ms) winks
usecallerid=yes
hidecallerid=no
callwaiting=yes
callwaitingcallerid=yes
threewaycalling=yes
transfer=yes
canpark=yes
callreturn=yes
echocancel=yes
echocancelwhenbridged=no
rxgain=2.0
txgain=2.0
callgroup=1
pickupgroup=1
immediate=no
busydetect=yes
busycount=4
busypattern=200,200
hanguponpolarityswitch=yes
faxdetect=incoming
;Include genzaptelconf configs
#include zapata-auto.conf
group=1
;Include AMP configs
#include zapata_additional.conf
elastix*CLI> zap show channels
Chan Extension Context Language MOH Interpret
pseudo from-internal es default
1 from-internal es default
2 from-internal es default
3 from-internal es default
4 from-internal es default
5 from-internal es default
6 from-internal es default
7 from-pstn es default
8 from-pstn es default
9 from-pstn es default
10 from-pstn es default
11 from-pstn es default
12 from-pstn es default
callerid=asreceived
; Span 1: OPVXA1200/0 "OpenVox A1200P Board 1"
signalling=fxs_ks
; Note: this is a trunk. Create a ZAP trunk in AMP for Channels 1-7
context=from-pstn
group=0
channel => 7-12
; do not edit this file, this is an auto-generated file by freepbx
; all modifications must be done from the web gui
;;;;;;[101]
signalling=fxo_ks
record_out=Adhoc
record_in=Adhoc
mailbox=101@default
immediate=no
echotraining=800
echocancelwhenbridged=no
echocancel=yes
dial=ZAP/g0
context=from-internal
callprogress=no
callerid=device <101>
busydetect=yes
busycount=5
accountcode=
channel=>1
;;;;;;[102]
signalling=fxo_ks
record_out=Adhoc
record_in=Adhoc
mailbox=102@default
immediate=no
echotraining=800
echocancelwhenbridged=no
echocancel=yes
dial=ZAP/g1
context=from-internal
callprogress=no
callerid=device <102>
busydetect=yes
busycount=5
accountcode=
channel=>2
;;;;;;[103]
signalling=fxo_ks
record_out=Adhoc
record_in=Adhoc
mailbox=103@default
immediate=no
echotraining=800
echocancelwhenbridged=no
echocancel=yes
dial=ZAP/g2
context=from-internal
callprogress=no
callerid=device <103>
busydetect=no
busycount=7
accountcode=
channel=>3
;;;;;;[104]
signalling=fxo_ks
record_out=Adhoc
record_in=Adhoc
mailbox=104@default
immediate=no
echotraining=800
echocancelwhenbridged=no
echocancel=yes
dial=ZAP/g3
context=from-internal
callprogress=no
callerid=device <104>
busydetect=no
busycount=7
accountcode=
channel=>4
;;;;;;[105]
signalling=fxo_ks
record_out=Adhoc
record_in=Adhoc
mailbox=105@default
immediate=no
echotraining=800
echocancelwhenbridged=no
echocancel=yes
dial=ZAP/g4
context=from-internal
callprogress=no
callerid=device <105>
busydetect=no
busycount=7
accountcode=
channel=>5
;;;;;;[106]
signalling=fxo_ks
record_out=Adhoc
record_in=Adhoc
mailbox=106@device
immediate=no
echotraining=800
echocancelwhenbridged=no
echocancel=yes
dial=ZAP/6
context=from-internal
callprogress=no
callerid=device <106>
busydetect=no
busycount=7
accountcode=
channel=>6
### Span 1: OPVXA1200/0 "OpenVox A1200P Board 1"
1 FXO FXOKS (In use)
2 FXO FXOKS (In use)
3 FXO FXOKS (In use)
4 FXO FXOKS (In use)
5 FXO FXOKS (In use)
6 FXO FXOKS (In use)
7 FXS FXSKS (In use)
8 FXS FXSKS (In use)
9 FXS FXSKS (In use)
10 FXS FXSKS (In use)
11 FXS FXSKS (In use)
12 FXS FXSKS (In use)
-- Executing [s@macro-outbound-callerid] NoOp("Zap/2-1", "REALCALLERIDNUM is 102") in new stack
-- Executing [s@macro-outbound-callerid] GotoIf("Zap/2-1", "1?normcid") in new stack
-- Goto (macro-outbound-callerid,s,9)
-- Executing [s@macro-outbound-callerid] Set("Zap/2-1", "USEROUTCID=") in new stack
-- Executing [s@macro-outbound-callerid] Set("Zap/2-1", "EMERGENCYCID=") in new stack
-- Executing [s@macro-outbound-callerid] Set("Zap/2-1", "TRUNKOUTCID=") in new stack
-- Executing [s@macro-outbound-callerid] GotoIf("Zap/2-1", "1?trunkcid") in new stack
-- Goto (macro-outbound-callerid,s,16)
-- Executing [s@macro-outbound-callerid] GotoIf("Zap/2-1", "1?usercid") in new stack
-- Goto (macro-outbound-callerid,s,18)
-- Executing [s@macro-outbound-callerid] GotoIf("Zap/2-1", "1?report") in new stack
-- Goto (macro-outbound-callerid,s,22)
-- Executing [s@macro-outbound-callerid] NoOp("Zap/2-1", "CallerID set to "Ana Mata" <102>") in new stack
-- Executing [s@macro-dialout-trunk] GotoIf("Zap/2-1", "1?nomax") in new stack
-- Goto (macro-dialout-trunk,s,17)
-- Executing [s@macro-dialout-trunk] AGI("Zap/2-1", "fixlocalprefix") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/fixlocalprefix
-- AGI Script fixlocalprefix completed, returning 0
-- Executing [s@macro-dialout-trunk] Set("Zap/2-1", "OUTNUM=966426468") in new stack
-- Executing [s@macro-dialout-trunk] Set("Zap/2-1", "custom=ZAP/g8") in new stack
-- Executing [s@macro-dialout-trunk] GotoIf("Zap/2-1", "0?gocall") in new stack
-- Executing [s@macro-dialout-trunk] Set("Zap/2-1", "DIAL_TRUNK_OPTIONS=M(setmusic^clasica)tT") in new stack
-- Executing [s@macro-dialout-trunk] Macro("Zap/2-1", "dialout-trunk-predial-hook") in new stack
-- Executing [s@macro-dialout-trunk] GotoIf("Zap/2-1", "0?bypass|1") in new stack
-- Executing [s@macro-dialout-trunk] GotoIf("Zap/2-1", "0?customtrunk") in new stack
-- Executing [s@macro-dialout-trunk] Dial("Zap/2-1", "ZAP/g8/966426468|300|M(setmusic^clasica)tT") in new stack
== Everyone is busy/congested at this time (1:0/0/1)
-- Executing [s@macro-dialout-trunk] Goto("Zap/2-1", "s-CHANUNAVAIL|1") in new stack
-- Goto (macro-dialout-trunk,s-CHANUNAVAIL,1)
-- Executing [s-CHANUNAVAIL@macro-dialout-trunk] GotoIf("Zap/2-1", "1?noreport") in new stack
-- Goto (macro-dialout-trunk,s-CHANUNAVAIL,3)
-- Executing [s-CHANUNAVAIL@macro-dialout-trunk] NoOp("Zap/2-1", "TRUNK Dial failed due to CHANUNAVAIL - failing through to other trunks") in new stack
-- Executing [0966426468@from-internal] Macro("Zap/2-1", "dialout-trunk|4|966426468||") in new stack
-- Executing [s@macro-dialout-trunk] Set("Zap/2-1", "DIAL_TRUNK=4") in new stack
-- Executing [s@macro-dialout-trunk] Set("Zap/2-1", "DIAL_NUMBER=966426468") in new stack
-- Executing [s@macro-dialout-trunk] Set("Zap/2-1", "ROUTE_PASSWD=") in new stack
-- Executing [s@macro-dialout-trunk] GotoIf("Zap/2-1", "1?noauth") in new stack
-- Goto (macro-dialout-trunk,s,6)
-- Executing [s@macro-dialout-trunk] GotoIf("Zap/2-1", "0?disabletrunk|1") in new stack
-- Executing [s@macro-dialout-trunk] Set("Zap/2-1", "_NODEST=") in new stack
-- Executing [s@macro-dialout-trunk] Set("Zap/2-1", "DIAL_TRUNK_OPTIONS=trT") in new stack
-- Executing [s@macro-dialout-trunk] Set("Zap/2-1", "GROUP()=OUT_4") in new stack
-- Executing [s@macro-dialout-trunk] Macro("Zap/2-1", "user-callerid|SKIPTTL") in new stack
-- Executing [s@macro-user-callerid] NoOp("Zap/2-1", "user-callerid: Ana Mata 102") in new stack
-- Executing [s@macro-user-callerid] Set("Zap/2-1", "AMPUSER=102") in new stack
-- Executing [s@macro-user-callerid] GotoIf("Zap/2-1", "0?report") in new stack
-- Executing [s@macro-user-callerid] GotoIf("Zap/2-1", "1?start") in new stack
-- Goto (macro-user-callerid,s,6)
-- Executing [s@macro-user-callerid] NoOp("Zap/2-1", "REALCALLERIDNUM is 102") in new stack
-- Executing [s@macro-user-callerid] Set("Zap/2-1", "AMPUSER=102") in new stack
-- Executing [s@macro-user-callerid] Set("Zap/2-1", "AMPUSERCIDNAME=Ana Mata") in new stack
-- Executing [s@macro-user-callerid] GotoIf("Zap/2-1", "0?report") in new stack
-- Executing [s@macro-user-callerid] Set("Zap/2-1", "AMPUSERCID=102") in new stack
-- Executing [s@macro-user-callerid] Set("Zap/2-1", "CALLERID(all)="Ana Mata" <102>") in new stack
-- Executing [s@macro-user-callerid] Set("Zap/2-1", "REALCALLERIDNUM=102") in new stack
-- Executing [s@macro-user-callerid] NoOp("Zap/2-1", "TTL: ARG1: SKIPTTL") in new stack
-- Executing [s@macro-user-callerid] GotoIf("Zap/2-1", "1?continue") in new stack
-- Goto (macro-user-callerid,s,23)
-- Executing [s@macro-user-callerid] NoOp("Zap/2-1", "Using CallerID "Ana Mata" <102>") in new stack
-- Executing [s@macro-dialout-trunk] Macro("Zap/2-1", "record-enable|102|OUT") in new stack
-- Executing [s@macro-record-enable] GotoIf("Zap/2-1", "0?2:4") in new stack
-- Goto (macro-record-enable,s,4)
-- Executing [s@macro-record-enable] AGI("Zap/2-1", "recordingcheck|20071115-210745|1195157256.16") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/recordingcheck
recordingcheck|20071115-210745|1195157256.16: Outbound recording not enabled
-- AGI Script recordingcheck completed, returning 0
-- Executing [s@macro-record-enable] NoOp("Zap/2-1", "No recording needed") in new stack
-- Executing [s@macro-dialout-trunk] GotoIf("Zap/2-1", "0?skipoutcid") in new stack
-- Executing [s@macro-dialout-trunk] Set("Zap/2-1", "DIAL_TRUNK_OPTIONS=tT") in new stack
-- Executing [s@macro-dialout-trunk] Macro("Zap/2-1", "outbound-callerid|4") in new stack
-- Executing [s@macro-outbound-callerid] GotoIf("Zap/2-1", "1?start") in new stack
-- Goto (macro-outbound-callerid,s,3)
-- Executing [s@macro-outbound-callerid] NoOp("Zap/2-1", "REALCALLERIDNUM is 102") in new stack
-- Executing [s@macro-outbound-callerid] GotoIf("Zap/2-1", "1?normcid") in new stack
-- Goto (macro-outbound-callerid,s,9)
-- Executing [s@macro-outbound-callerid] Set("Zap/2-1", "USEROUTCID=") in new stack
-- Executing [s@macro-outbound-callerid] Set("Zap/2-1", "EMERGENCYCID=") in new stack
-- Executing [s@macro-outbound-callerid] Set("Zap/2-1", "TRUNKOUTCID=") in new stack
-- Executing [s@macro-outbound-callerid] GotoIf("Zap/2-1", "1?trunkcid") in new stack
-- Goto (macro-outbound-callerid,s,16)
-- Executing [s@macro-outbound-callerid] GotoIf("Zap/2-1", "1?usercid") in new stack
-- Goto (macro-outbound-callerid,s,18)
-- Executing [s@macro-outbound-callerid] GotoIf("Zap/2-1", "1?report") in new stack
-- Goto (macro-outbound-callerid,s,22)
-- Executing [s@macro-outbound-callerid] NoOp("Zap/2-1", "CallerID set to "Ana Mata" <102>") in new stack
-- Executing [s@macro-dialout-trunk] GotoIf("Zap/2-1", "1?nomax") in new stack
-- Goto (macro-dialout-trunk,s,17)
-- Executing [s@macro-dialout-trunk] AGI("Zap/2-1", "fixlocalprefix") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/fixlocalprefix
-- AGI Script fixlocalprefix completed, returning 0
-- Executing [s@macro-dialout-trunk] Set("Zap/2-1", "OUTNUM=966426468") in new stack
-- Executing [s@macro-dialout-trunk] Set("Zap/2-1", "custom=ZAP/g9") in new stack
-- Executing [s@macro-dialout-trunk] GotoIf("Zap/2-1", "0?gocall") in new stack
-- Executing [s@macro-dialout-trunk] Set("Zap/2-1", "DIAL_TRUNK_OPTIONS=M(setmusic^clasica)tT") in new stack
-- Executing [s@macro-dialout-trunk] Macro("Zap/2-1", "dialout-trunk-predial-hook") in new stack
-- Executing [s@macro-dialout-trunk] GotoIf("Zap/2-1", "0?bypass|1") in new stack
-- Executing [s@macro-dialout-trunk] GotoIf("Zap/2-1", "0?customtrunk") in new stack
-- Executing [s@macro-dialout-trunk] Dial("Zap/2-1", "ZAP/g9/966426468|300|M(setmusic^clasica)tT") in new stack
== Everyone is busy/congested at this time (1:0/0/1)
-- Executing [s@macro-dialout-trunk] Goto("Zap/2-1", "s-CHANUNAVAIL|1") in new stack
-- Goto (macro-dialout-trunk,s-CHANUNAVAIL,1)
-- Executing [s-CHANUNAVAIL@macro-dialout-trunk] GotoIf("Zap/2-1", "1?noreport") in new stack
-- Goto (macro-dialout-trunk,s-CHANUNAVAIL,3)
-- Executing [s-CHANUNAVAIL@macro-dialout-trunk] NoOp("Zap/2-1", "TRUNK Dial failed due to CHANUNAVAIL - failing through to other trunks") in new stack
-- Executing [0966426468@from-internal] Macro("Zap/2-1", "dialout-trunk|5|966426468||") in new stack
-- Executing [s@macro-dialout-trunk] Set("Zap/2-1", "DIAL_TRUNK=5") in new stack
-- Executing [s@macro-dialout-trunk] Set("Zap/2-1", "DIAL_NUMBER=966426468") in new stack
-- Executing [s@macro-dialout-trunk] Set("Zap/2-1", "ROUTE_PASSWD=") in new stack
-- Executing [s@macro-dialout-trunk] GotoIf("Zap/2-1", "1?noauth") in new stack
-- Goto (macro-dialout-trunk,s,6)
-- Executing [s@macro-dialout-trunk] GotoIf("Zap/2-1", "0?disabletrunk|1") in new stack
-- Executing [s@macro-dialout-trunk] Set("Zap/2-1", "_NODEST=") in new stack
-- Executing [s@macro-dialout-trunk] Set("Zap/2-1", "DIAL_TRUNK_OPTIONS=trT") in new stack
-- Executing [s@macro-dialout-trunk] Set("Zap/2-1", "GROUP()=OUT_5") in new stack
-- Executing [s@macro-dialout-trunk] Macro("Zap/2-1", "user-callerid|SKIPTTL") in new stack
-- Executing [s@macro-user-callerid] NoOp("Zap/2-1", "user-callerid: Ana Mata 102") in new stack
-- Executing [s@macro-user-callerid] Set("Zap/2-1", "AMPUSER=102") in new stack
-- Executing [s@macro-user-callerid] GotoIf("Zap/2-1", "0?report") in new stack
-- Executing [s@macro-user-callerid] GotoIf("Zap/2-1", "1?start") in new stack
-- Goto (macro-user-callerid,s,6)
-- Executing [s@macro-user-callerid] NoOp("Zap/2-1", "REALCALLERIDNUM is 102") in new stack
-- Executing [s@macro-user-callerid] Set("Zap/2-1", "AMPUSER=102") in new stack
-- Executing [s@macro-user-callerid] Set("Zap/2-1", "AMPUSERCIDNAME=Ana Mata") in new stack
-- Executing [s@macro-user-callerid] GotoIf("Zap/2-1", "0?report") in new stack
-- Executing [s@macro-user-callerid] Set("Zap/2-1", "AMPUSERCID=102") in new stack
-- Executing [s@macro-user-callerid] Set("Zap/2-1", "CALLERID(all)="Ana Mata" <102>") in new stack
-- Executing [s@macro-user-callerid] Set("Zap/2-1", "REALCALLERIDNUM=102") in new stack
-- Executing [s@macro-user-callerid] NoOp("Zap/2-1", "TTL: ARG1: SKIPTTL") in new stack
-- Executing [s@macro-user-callerid] GotoIf("Zap/2-1", "1?continue") in new stack
-- Goto (macro-user-callerid,s,23)
-- Executing [s@macro-user-callerid] NoOp("Zap/2-1", "Using CallerID "Ana Mata" <102>") in new stack
-- Executing [s@macro-dialout-trunk] Macro("Zap/2-1", "record-enable|102|OUT") in new stack
-- Executing [s@macro-record-enable] GotoIf("Zap/2-1", "0?2:4") in new stack
-- Goto (macro-record-enable,s,4)
-- Executing [s@macro-record-enable] AGI("Zap/2-1", "recordingcheck|20071115-210745|1195157256.16") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/recordingcheck
recordingcheck|20071115-210745|1195157256.16: Outbound recording not enabled
-- AGI Script recordingcheck completed, returning 0
-- Executing [s@macro-record-enable] NoOp("Zap/2-1", "No recording needed") in new stack
-- Executing [s@macro-dialout-trunk] GotoIf("Zap/2-1", "0?skipoutcid") in new stack
-- Executing [s@macro-dialout-trunk] Set("Zap/2-1", "DIAL_TRUNK_OPTIONS=tT") in new stack
-- Executing [s@macro-dialout-trunk] Macro("Zap/2-1", "outbound-callerid|5") in new stack
-- Executing [s@macro-outbound-callerid] GotoIf("Zap/2-1", "1?start") in new stack
-- Goto (macro-outbound-callerid,s,3)
-- Executing [s@macro-outbound-callerid] NoOp("Zap/2-1", "REALCALLERIDNUM is 102") in new stack
-- Executing [s@macro-outbound-callerid] GotoIf("Zap/2-1", "1?normcid") in new stack
-- Goto (macro-outbound-callerid,s,9)
-- Executing [s@macro-outbound-callerid] Set("Zap/2-1", "USEROUTCID=") in new stack
-- Executing [s@macro-outbound-callerid] Set("Zap/2-1", "EMERGENCYCID=") in new stack
-- Executing [s@macro-outbound-callerid] Set("Zap/2-1", "TRUNKOUTCID=") in new stack
-- Executing [s@macro-outbound-callerid] GotoIf("Zap/2-1", "1?trunkcid") in new stack
-- Goto (macro-outbound-callerid,s,16)
-- Executing [s@macro-outbound-callerid] GotoIf("Zap/2-1", "1?usercid") in new stack
-- Goto (macro-outbound-callerid,s,18)
-- Executing [s@macro-outbound-callerid] GotoIf("Zap/2-1", "1?report") in new stack
-- Goto (macro-outbound-callerid,s,22)
-- Executing [s@macro-outbound-callerid] NoOp("Zap/2-1", "CallerID set to "Ana Mata" <102>") in new stack
-- Executing [s@macro-dialout-trunk] GotoIf("Zap/2-1", "1?nomax") in new stack
-- Goto (macro-dialout-trunk,s,17)
-- Executing [s@macro-dialout-trunk] AGI("Zap/2-1", "fixlocalprefix") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/fixlocalprefix
-- AGI Script fixlocalprefix completed, returning 0
-- Executing [s@macro-dialout-trunk] Set("Zap/2-1", "OUTNUM=966426468") in new stack
-- Executing [s@macro-dialout-trunk] Set("Zap/2-1", "custom=ZAP/g10") in new stack
-- Executing [s@macro-dialout-trunk] GotoIf("Zap/2-1", "0?gocall") in new stack
-- Executing [s@macro-dialout-trunk] Set("Zap/2-1", "DIAL_TRUNK_OPTIONS=M(setmusic^clasica)tT") in new stack
-- Executing [s@macro-dialout-trunk] Macro("Zap/2-1", "dialout-trunk-predial-hook") in new stack
-- Executing [s@macro-dialout-trunk] GotoIf("Zap/2-1", "0?bypass|1") in new stack
-- Executing [s@macro-dialout-trunk] GotoIf("Zap/2-1", "0?customtrunk") in new stack
-- Executing [s@macro-dialout-trunk] Dial("Zap/2-1", "ZAP/g10/966426468|300|M(setmusic^clasica)tT") in new stack
== Everyone is busy/congested at this time (1:0/0/1)
-- Executing [s@macro-dialout-trunk] Goto("Zap/2-1", "s-CHANUNAVAIL|1") in new stack
-- Goto (macro-dialout-trunk,s-CHANUNAVAIL,1)
-- Executing [s-CHANUNAVAIL@macro-dialout-trunk] GotoIf("Zap/2-1", "1?noreport") in new stack
-- Goto (macro-dialout-trunk,s-CHANUNAVAIL,3)
-- Executing [s-CHANUNAVAIL@macro-dialout-trunk] NoOp("Zap/2-1", "TRUNK Dial failed due to CHANUNAVAIL - failing through to other trunks") in new stack
-- Executing [0966426468@from-internal] Macro("Zap/2-1", "dialout-trunk|6|966426468||") in new stack
-- Executing [s@macro-dialout-trunk] Set("Zap/2-1", "DIAL_TRUNK=6") in new stack
-- Executing [s@macro-dialout-trunk] Set("Zap/2-1", "DIAL_NUMBER=966426468") in new stack
-- Executing [s@macro-dialout-trunk] Set("Zap/2-1", "ROUTE_PASSWD=") in new stack
-- Executing [s@macro-dialout-trunk] GotoIf("Zap/2-1", "1?noauth") in new stack
-- Goto (macro-dialout-trunk,s,6)
-- Executing [s@macro-dialout-trunk] GotoIf("Zap/2-1", "0?disabletrunk|1") in new stack
-- Executing [s@macro-dialout-trunk] Set("Zap/2-1", "_NODEST=") in new stack
-- Executing [s@macro-dialout-trunk] Set("Zap/2-1", "DIAL_TRUNK_OPTIONS=trT") in new stack
-- Executing [s@macro-dialout-trunk] Set("Zap/2-1", "GROUP()=OUT_6") in new stack
-- Executing [s@macro-dialout-trunk] Macro("Zap/2-1", "user-callerid|SKIPTTL") in new stack
-- Executing [s@macro-user-callerid] NoOp("Zap/2-1", "user-callerid: Ana Mata 102") in new stack
-- Executing [s@macro-user-callerid] Set("Zap/2-1", "AMPUSER=102") in new stack
-- Executing [s@macro-user-callerid] GotoIf("Zap/2-1", "0?report") in new stack
-- Executing [s@macro-user-callerid] GotoIf("Zap/2-1", "1?start") in new stack
-- Goto (macro-user-callerid,s,6)
-- Executing [s@macro-user-callerid] NoOp("Zap/2-1", "REALCALLERIDNUM is 102") in new stack
-- Executing [s@macro-user-callerid] Set("Zap/2-1", "AMPUSER=102") in new stack
-- Executing [s@macro-user-callerid] Set("Zap/2-1", "AMPUSERCIDNAME=Ana Mata") in new stack
-- Executing [s@macro-user-callerid] GotoIf("Zap/2-1", "0?report") in new stack
-- Executing [s@macro-user-callerid] Set("Zap/2-1", "AMPUSERCID=102") in new stack
-- Executing [s@macro-user-callerid] Set("Zap/2-1", "CALLERID(all)="Ana Mata" <102>") in new stack
-- Executing [s@macro-user-callerid] Set("Zap/2-1", "REALCALLERIDNUM=102") in new stack
-- Executing [s@macro-user-callerid] NoOp("Zap/2-1", "TTL: ARG1: SKIPTTL") in new stack
-- Executing [s@macro-user-callerid] GotoIf("Zap/2-1", "1?continue") in new stack
-- Goto (macro-user-callerid,s,23)
-- Executing [s@macro-user-callerid] NoOp("Zap/2-1", "Using CallerID "Ana Mata" <102>") in new stack
-- Executing [s@macro-dialout-trunk] Macro("Zap/2-1", "record-enable|102|OUT") in new stack
-- Executing [s@macro-record-enable] GotoIf("Zap/2-1", "0?2:4") in new stack
-- Goto (macro-record-enable,s,4)
-- Executing [s@macro-record-enable] AGI("Zap/2-1", "recordingcheck|20071115-210745|1195157256.16") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/recordingcheck
recordingcheck|20071115-210745|1195157256.16: Outbound recording not enabled
-- AGI Script recordingcheck completed, returning 0
-- Executing [s@macro-record-enable] NoOp("Zap/2-1", "No recording needed") in new stack
-- Executing [s@macro-dialout-trunk] GotoIf("Zap/2-1", "0?skipoutcid") in new stack
-- Executing [s@macro-dialout-trunk] Set("Zap/2-1", "DIAL_TRUNK_OPTIONS=tT") in new stack
-- Executing [s@macro-dialout-trunk] Macro("Zap/2-1", "outbound-callerid|6") in new stack
-- Executing [s@macro-outbound-callerid] GotoIf("Zap/2-1", "1?start") in new stack
-- Goto (macro-outbound-callerid,s,3)
-- Executing [s@macro-outbound-callerid] NoOp("Zap/2-1", "REALCALLERIDNUM is 102") in new stack
-- Executing [s@macro-outbound-callerid] GotoIf("Zap/2-1", "1?normcid") in new stack
-- Goto (macro-outbound-callerid,s,9)
-- Executing [s@macro-outbound-callerid] Set("Zap/2-1", "USEROUTCID=") in new stack
-- Executing [s@macro-outbound-callerid] Set("Zap/2-1", "EMERGENCYCID=") in new stack
-- Executing [s@macro-outbound-callerid] Set("Zap/2-1", "TRUNKOUTCID=") in new stack
-- Executing [s@macro-outbound-callerid] GotoIf("Zap/2-1", "1?trunkcid") in new stack
-- Goto (macro-outbound-callerid,s,16)
-- Executing [s@macro-outbound-callerid] GotoIf("Zap/2-1", "1?usercid") in new stack
-- Goto (macro-outbound-callerid,s,18)
-- Executing [s@macro-outbound-callerid] GotoIf("Zap/2-1", "1?report") in new stack
-- Goto (macro-outbound-callerid,s,22)
-- Executing [s@macro-outbound-callerid] NoOp("Zap/2-1", "CallerID set to "Ana Mata" <102>") in new stack
-- Executing [s@macro-dialout-trunk] GotoIf("Zap/2-1", "1?nomax") in new stack
-- Goto (macro-dialout-trunk,s,17)
-- Executing [s@macro-dialout-trunk] AGI("Zap/2-1", "fixlocalprefix") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/fixlocalprefix
-- AGI Script fixlocalprefix completed, returning 0
-- Executing [s@macro-dialout-trunk] Set("Zap/2-1", "OUTNUM=966426468") in new stack
-- Executing [s@macro-dialout-trunk] Set("Zap/2-1", "custom=ZAP/g11") in new stack
-- Executing [s@macro-dialout-trunk] GotoIf("Zap/2-1", "0?gocall") in new stack
-- Executing [s@macro-dialout-trunk] Set("Zap/2-1", "DIAL_TRUNK_OPTIONS=M(setmusic^clasica)tT") in new stack
-- Executing [s@macro-dialout-trunk] Macro("Zap/2-1", "dialout-trunk-predial-hook") in new stack
-- Executing [s@macro-dialout-trunk] GotoIf("Zap/2-1", "0?bypass|1") in new stack
-- Executing [s@macro-dialout-trunk] GotoIf("Zap/2-1", "0?customtrunk") in new stack
-- Executing [s@macro-dialout-trunk] Dial("Zap/2-1", "ZAP/g11/966426468|300|M(setmusic^clasica)tT") in new stack
== Everyone is busy/congested at this time (1:0/0/1)
-- Executing [s@macro-dialout-trunk] Goto("Zap/2-1", "s-CHANUNAVAIL|1") in new stack
-- Goto (macro-dialout-trunk,s-CHANUNAVAIL,1)
-- Executing [s-CHANUNAVAIL@macro-dialout-trunk] GotoIf("Zap/2-1", "1?noreport") in new stack
-- Goto (macro-dialout-trunk,s-CHANUNAVAIL,3)
-- Executing [s-CHANUNAVAIL@macro-dialout-trunk] NoOp("Zap/2-1", "TRUNK Dial failed due to CHANUNAVAIL - failing through to other trunks") in new stack
-- Executing [0966426468@from-internal] Macro("Zap/2-1", "outisbusy|") in new stack
-- Executing [s@macro-outisbusy] Playback("Zap/2-1", "all-circuits-busy-now|noanswer") in new stack
-- <Zap/2-1> Playing 'all-circuits-busy-now' (language 'es')
== Spawn extension (macro-outisbusy, s, 1) exited non-zero on 'Zap/2-1' in macro 'outisbusy'
== Spawn extension (macro-outisbusy, s, 1) exited non-zero on 'Zap/2-1'